package com.bk.mapper.tranInfo;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.bk.entity.TranFlowInfo;

@Component/**流水信息mapper组件*/
public interface TranInfoMapper {

	/**通过交易类型查找交易记录*/
	List<TranFlowInfo> queryTranInfoByTranType(@Param("cardId")String cardId, @Param("tranType") String tranType);

	/**根据账号删除流水记录*/
	int deleteTranFlowByCardId(String cardId);

}
